import { createSignal } from "solid-js";

function App() {
  const [count, setCount] = createSignal(0);

  setInterval(() => {
    setCount((c) => c + 1);
  }, 1000);
  return (
    <>
      <p>Count: {count()}</p>
      <a href="/home"> go home </a>
    </>
  );
}

export default App;
